package com.gdatacloud.flow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 案件管理
 * </p>
 *
 * @author izeal
 * @since 2021-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("g_legal_cases")
@ApiModel(value="Cases对象", description="案件管理")
public class Cases implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "案件名称")
    private String name;

    @ApiModelProperty(value = "案号")
    private String anNo;

    @ApiModelProperty(value = "原告：申请人")
    private String prosecutor;

    @ApiModelProperty(value = "被告：被申请人")
    private String defendant;

    @ApiModelProperty(value = "第三人")
    private String outsider;

    @ApiModelProperty(value = "案由")
    private String reason;

    @ApiModelProperty(value = "涉案标的/金额")
    private String biaodi;

    @ApiModelProperty(value = "案件类型")
    private String type;

    @ApiModelProperty(value = "案件状态：0-受理中；1-庭审中；2-判决中")
    private Integer status;

    @ApiModelProperty(value = "案件案情介绍")
    private String content;

    @ApiModelProperty(value = "开庭日期")
    private LocalDateTime holdDate;

    @ApiModelProperty(value = "代理人信息")
    private String agent;

    @ApiModelProperty(value = "办案法院")
    private String executeGov;

    @ApiModelProperty(value = "法官")
    private String chiefJudge;

    @ApiModelProperty(value = "填报时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "附件资料")
    private String accessory;


}
